package boot.spring.po;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Message {

    //发送者name
    public String from;
    //接收者name
    public String to;
    //发送的文本
    public String text;
    //发送时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    public Date date;

//    实时语音识别出来的文字
    public String asrText;

//    转录的类型，partial为识别中，final为识别结束
    public String asrTextType;

//    意图识别是否正在工作
    public Boolean nlpIsWorking;

//    意图识别返回的结果，也就是回答
    public String nlpText;

//    语音合成是否正在工作
    public Boolean ttsIsWorking;

//    已经生产的视频帧数
    public Integer hasProduceCnt;

//    总帧数
    public Integer totalFramesNum;

//    视频合成是否正在工作
    public Boolean mediaGenerateIsWorking;

//    视频合成是否完成
    public Boolean has_produced_data;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getAsrText() {
        return asrText;
    }

    public void setAsrText(String asrText) {
        this.asrText = asrText;
    }

    public String getAsrTextType() {
        return asrTextType;
    }

    public void setAsrTextType(String asrTextType) {
        this.asrTextType = asrTextType;
    }

    public Boolean getNlpIsWorking() {
        return nlpIsWorking;
    }

    public void setNlpIsWorking(Boolean nlpIsWorking) {
        this.nlpIsWorking = nlpIsWorking;
    }

    public String getNlpText() {
        return nlpText;
    }

    public void setNlpText(String nlpText) {
        this.nlpText = nlpText;
    }

    public Boolean getTtsIsWorking() {
        return ttsIsWorking;
    }

    public void setTtsIsWorking(Boolean ttsIsWorking) {
        this.ttsIsWorking = ttsIsWorking;
    }

    public Integer getHasProduceCnt() {
        return hasProduceCnt;
    }

    public void setHasProduceCnt(Integer hasProduceCnt) {
        this.hasProduceCnt = hasProduceCnt;
    }

    public Integer getTotalFramesNum() {
        return totalFramesNum;
    }

    public void setTotalFramesNum(Integer totalFramesNum) {
        this.totalFramesNum = totalFramesNum;
    }

    public Boolean getMediaGenerateIsWorking() {
        return mediaGenerateIsWorking;
    }

    public void setMediaGenerateIsWorking(Boolean mediaGenerateIsWorking) {
        this.mediaGenerateIsWorking = mediaGenerateIsWorking;
    }

    public Boolean getHas_produced_data() {
        return has_produced_data;
    }

    public void setHas_produced_data(Boolean has_produced_data) {
        this.has_produced_data = has_produced_data;
    }
}
